package templete_chanin;

// 具体处理器C
public class ConcreteHandlerC extends HandlerTemplate {
    @Override
    protected void processRequest(int request) {
        System.out.println("ConcreteHandlerC 处理请求：" + request);
    }

    @Override
    protected boolean canHandle(int request) {
        return request >= 20;
    }
}
